#@(#)Makefile	

CFLAGS =	
CLIBS = 

CC=mpiCC

Files.cpp	=	ApprocVertex.cpp	\
			SurfBorderSearch.cpp	\
			fill_graf.cpp		\
			get_wff.cpp		\
			Getline.cpp		\
			funcs.cpp		\
			put_wff.cpp		\
			IsInsideSurf.cpp	\
			sortvert.cpp		\
			SurfCompress.cpp	\
			SurfExtract.cpp	\
			SurfGrafGet.cpp	\
			SurfGrafPut.cpp	\
			TrgClass2.cpp	\
			reduce_vertex.cpp	\
			swap_coords.cpp


Files.o	= $(Files.cpp:.cpp=.o)

.cpp.o:
	$(CC) -c -MD -I./ -o $@ $*.cpp


liraCompress.a: $(Files.o)  $(CLIBS)
	ld -r -o liraCompress.a $(Files.o) $(CLIBS) 
                    
clean:
	rm -f liraCompress.a *.o *.d

include $(wildcard *.d)

